/**
 * @Author 12629
 * @Date 2022/3/9 21:06
 * @Description：
 */
public class TestDemo3 {

    public static void main(String[] args) {
        Integer a = 200;
        Integer b = 200;
        System.out.println(a == b);
    }

    public static void main2(String[] args) {
        Integer a = 10;//显示的装箱
        int i = a;//隐式的拆箱  intValue

        int ii = a.intValue();//显示的拆箱
        double d = a.doubleValue();
        short s = a.shortValue();

    }

    public static void main1(String[] args) {
        int a = 10;
        //Integer i = a;//自动
        Integer ii = Integer.valueOf(a);//显示

        Integer i2 = new Integer(a);//显示

        //System.out.println(i+" " +i2);

    }
}
